﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DBMS.Models.DataInterfaces
{
    public interface IRelationshipRepository
    {
        Relationship GetRelationship(int databaseId, int relationshipId);

        IList<Relationship> GetAllRelationshipsForDatabase(int databaseId);

        void Save(int databaseId, Relationship relationship);

        void Update(int databaseId, Relationship relationship);

        void Delete(int databaseId, int relationshipId);
    }
}